package com.boat.mybatis.dao;

import com.boat.mybatis.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : feng
 * @description: UserDAO
 * @date : 2019-05-13 11:46
 * @version: : 1.0
 */
@Repository
public interface UserDAO {
    public List<User> listAll();

    public int add(User user);

    User get(String username);

    User getOne(String username);
}
